
public class Beat extends Action {
    public Beat(Predicate p){
        super("Beat", 1);

        //addPreconditions(new Have(o));
        addPreconditions(p);
        addToAddList(new Beaten(p));
        addToDeleteList(p);

        addToResources(Resource.BOWL);
        addToResources(Resource.BEATER);
        addToResources(Resource.HANDS);
    }

    public Beat() {
        super("Beat", 1);

        addToAddList(new Beaten());

        addToResources(Resource.BOWL);
        addToResources(Resource.BEATER);
        addToResources(Resource.HANDS);
    }
}
